<template>
  <router-view name="LoginRouterView"/>
  <Index v-if="notLogin"/>
</template>

<script setup>
import { ref, onMounted, markRaw} from 'vue';
import Index from '@/views/Index.vue';
import { useRoute } from 'vue-router';

const route = useRoute(); 
const notLogin = ref(window.location.pathname !== '/login');

</script>

<style>
* {
  margin: 0;
  padding: 0;
}
body {
  overflow: hidden;
}
</style>

